home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
bench
/
x.txt
/
000093_patankar@acsu.buffalo.edu_Mon Oct 29 16:01:44 EST 2001.msg
< prev
next >
Wrap
Text File
|
2020-01-01
|
2KB
|
53 lines
Article: 12910 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!nycmny1-snh1.gtei.net!news.gtei.net!newsfeed.mathworks.com!portc01.blue.aol.com!newsstand.cit.cornell.edu!news.acsu.buffalo.edu!acsu.buffalo.edu!phaet.cedar.Buffalo.EDU!patankar
From: Anish A Patankar <patankar@acsu.buffalo.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Ques with file
Date: Mon, 29 Oct 2001 15:57:35 -0500
Organization: University at Buffalo
Lines: 35
Message-ID: <Pine.SOL.4.30.0110291554450.5079-100000@phaet.cedar.buffalo.edu>
References: <Pine.SOL.4.30.0110241624320.4071-100000@phaet.cedar.buffalo.edu> <9r79hi$mvt$1@newsmaster.cc.columbia.edu> <Pine.SOL.4.30.0110242037050.4071-100000@phaet.cedar.buffalo.edu> <9rciuj$hv1$1@newsmaster.cc.columbia.edu>
NNTP-Posting-Host: phaet.cedar.buffalo.edu
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
To: Frank da Cruz <fdc@watsun.cc.columbia.edu>
In-Reply-To: <9rciuj$hv1$1@newsmaster.cc.columbia.edu>
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:12910
Thanks..
But how do i start kermit protocol on a serial device.. i start the kermit
on my local mc on which the device is attached, but how do i initiate a
binary JPEG file image transfer using kermit protocol transfer with the
serial device..so that i can use receive , send etc..
Thanks again.
> set modem type none > set carrier-watch off ;
if necessary > set port /dev/ttyS0 ; or whatever
> set speed 57600 ; or whatever
> set flow rts/cts ; or Xon/Xoff or None
> log session shapshot.log ; Start session log
> connect
>
> From this point until you escape back with Ctrl-\c, all the incoming
> bytes are recorded in the file called shapshot.log. There are other
> ways to do it too, but this is the most straightforward.
>
> All this is assuming it's a text file. If it's a binary file, such as a
> Jpeg image, you're not necessarily going to be able to transfer it this way
> due to lack of transparency of the connection to arbitrary bit patterns.
> Use Kermit or some other protocol to transfer it. If protocol transfers
> are not available, try the above sequence but before giving the LOG SESSION
> command, use:
>
> set session-log binary
>
> But there can be guarantees. Even if the data arrives intact, how do you
> know where the beginning and end are?
>
> - Frank
>